//
//  TopicTableDisplayInfo.m
//  TipsProject
//
//  Created by Suny on 15/5/19.
//  Copyright (c) 2015年 Suny. All rights reserved.
//

#import "TopicTableDisplayInfo.h"
@implementation TopicTableDisplayInfo

- (TopicInfo *)topicInfo
{ 
	return (TopicInfo *)self.modelInfo;
}

- (CGFloat)heightForCell
{
	if (self.style == TopicTableViewCellContentDefaultStyle)
	{
		return 80;
	}
	else if (self.style == TopicTableViewCellContentSubStyle)
	{
		return 120;
	}
    else
    {
        return 120;
    }
}

@end
